/*
 * Image.h
 *
 *  Created on: Aug 25, 2011
 *      Author: mengwei.chua
 */

#ifndef IMAGE_H_
#define IMAGE_H_

#include <string>
#include "util/IXmlParsable.h"

namespace projectcos
{
namespace tile
{
namespace parser
{

class Image: public projectcos::util::IXmlParsable
{
public:

	Image();
	virtual ~Image();

	virtual bool Parse(const TiXmlElement* element);

	std::string GetSource() const;
	unsigned int GetTrans() const;

protected:
private:
	std::string m_Source;
	unsigned int m_Trans;
};

} // parser
} // tile
} // projectcos


#endif /* IMAGE_H_ */
